package com.cglib;

import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Opcodes;

/**
 * @author fanxiao  2022/3/7
 * @since 1.0.0
 */
public class AnnotationPrinterVisitor extends AnnotationVisitor {

	public AnnotationPrinterVisitor() {
		super(Opcodes.ASM9);
	}

	@Override
	public void visit(String name, Object value) {
    	System.out.println("visit anno name:" + name + ", visit anno value:" + value);
//		super.visit(name, value);
	}


	@Override
	public AnnotationVisitor visitArray(String name) {
    	System.out.println("visitArray anno name:" + name);
    	return null;
	}


}